package com.sudo.dao.admin.model.bo;

import com.sudo.common.utils.PageBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "shell任务参数")
public class SysShellJobBo extends PageBO {
    @ApiModelProperty(value="主键")
    private Integer id;

    @ApiModelProperty(value="状态")
    private String status;

    @ApiModelProperty(value="服务器")
    @NotBlank(message = "服务器不能为空")
    private String server;

    @ApiModelProperty(value="cron表达式")
    @NotBlank(message = "cron表达式不能为空")
    private String cronExpression;

    @ApiModelProperty(value="shell命令")
    @NotBlank(message = "shell命令不能为空")
    private String shell;

    @ApiModelProperty(value="remark")
    private String remark;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getServer() {
        return server;
    }

    public void setServer(String server) {
        this.server = server;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getShell() {
        return shell;
    }

    public void setShell(String shell) {
        this.shell = shell;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
